package com.chentf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author chentengfei
 * @desc ...
 * @date 2021-09-12 11:06:35
 */
@SpringBootApplication
@EnableDiscoveryClient //作用:通用的服务注册客户端注解,代表consul client,zk client,nacos client
public class ConsulClientApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConsulClientApplication.class,args);
    }
}
